package com.sh.data.engine.application.model.dto.integration;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @author: zigui.zdf
 * @description:
 * @date: 2021/7/27 15:55
 */
@Data
@Schema
public class OfflineNodeResponse {

    private Long id;

    /**
     * 父id
     */
    private Long pid;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 项目id
     */
    private Long projectId;

    /**
     * 节点名称
     */
    private String name;

    /**
     * node_type
     */
    private Integer nodeType;

    /**
     * 是否是系统
     */
    private Integer isSystem;

    /**
     * 是否是目录
     */
    private Integer isDir;

    /**
     * 关联资源id
     */
    private Long taskId;

    /**
     * 排序字段
     */
    private Integer sort;

    private Integer isLock;

    private Integer color;

    private Integer isValid;

    private List<Map<String, String>> errorTasks;

    @Schema(description = "搜索用关键词")
    private List<String> keywords;
}
